import { http } from "@/utils/http";
// import { baseUrlApi } from "./utils";

/** 角色列表 */
export const itemList = (data?: object) => {
  return http.request<any>("post", "api/user/certclass/index", { data });
};

/** 角色添加 编辑 */
export const addItem = (data?: object) => {
  return http.request<any>("post", "api/user/certclass/edit", { data });
};

/** 角色删除 */
export const delItem = (data?: object) => {
  return http.request<any>("post", "api/user/certclass/del", { data });
};

